# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pyscss
pkgver=1.3.7
pkgrel=2
pkgdesc="A Scss compiler for Python"
url="https://github.com/Kronuz/pyScss"
arch="all"
license="MIT"
depends="python3"
makedepends="
	pcre-dev
	py3-setuptools
	python3-dev
	"
checkdepends="py3-pytest"
source="https://github.com/Kronuz/pyScss/archive/$pkgver/pyScss-$pkgver.tar.gz"
options="!check" # Requires tox so we can't run them
builddir="$srcdir/pyScss-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="dbd7c9d1573fa099f55cc2a93a6068c1f93f958d881fa19ab37566763c60db972e8fdaa49f55baa497b11d1308b899190435bb7407012e59e209fb1c883dacfb  pyScss-1.3.7.tar.gz"
